home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / U-Z / UltraShell Demo 1.1.sit / UltraShell™ Demo V1.1 / ExampleExternalCommand / ucommand.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-23  |  1.2 KB  |  34 lines  |  [TEXT/KAHL]

  1.  
  2. /*===========================================================\
  3. |                     UltraShell (tm)                        |
  4. |                                                            |
  5. |                       ucommand.h                           |
  6. |    This header file defines variables needed to permit     |
  7. |    external commands to obtain command line arguments      |
  8. |    and to access UltraShell files for standard input,      |
  9. |                    output, and error.                      |
  10. |                                                            |
  11. |           Copyright (C) 1994 by Zack T. Smith              |
  12. |                                                            |
  13. |     Permission is granted to freely distribute this        |
  14. |    file, so long as the data contained herein is not       |
  15. |                  altered in any way.                       |
  16. \===========================================================*/
  17.  
  18.  
  19.  
  20. #define SUCCESS (0)
  21. #define CANNOT_FIND_TEMP_DIR (1)
  22. #define MAX_PATH_LEN (300)
  23.  
  24.  
  25. extern FILE *shell_stdin;
  26. extern FILE *shell_stdout;
  27. extern FILE *shell_stderr;
  28.  
  29.  
  30. extern long ucommand (char **argv, unsigned long max_args);
  31.  
  32. extern void shell_exit (short);
  33.  
  34.